/*
 * readNextStep.cpp
 *
 *  Created on: Mar 30, 2014
 *      Author: marchi
 */
#include <iostream>
#include <iomanip>
#include <fstream>
#include <sstream>
#include <vector>
#include <string>
#include <iterator>
#include <iomanip>
#include <cstring>
#include "AtomsXYZ.h"
#include "FstreamC.h"
#include "fxtc.h"

using namespace std;
// profile variables

extern"C" {
void readLabels(char * MyLabs){
	Fstream & fin=*finx;
	int nr=atm->getNR();
    AtomsXYZ b=*(static_cast<AtomsXYZ *> (atm));
	vector<string> labs=atm->getLabel();
	size_t p;
	for(size_t o=0;o<labs.size();o++){
		size_t n=labs[o].length();
		labs[o].append("    ",0,4-n);
		p=4*o;
		for(size_t q=0;q<4;q++) MyLabs[p+q]=labs[o].data()[q];
	}
}
}



